notebook: Make dnd safe against tab disappearance
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Jan 2015 04:51:26 +0000 (23:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Jan 2015 15:13:15 +0000 (10:13 -0500)
commit63104944a3d783197082cb57683301a67f1de063
treed826ea5537dd9cb2226f1d370b9da2bd35f66498
parent3a05d9b5a0dde696fe6fb68fd2ae3bffbc36b20c
notebook: Make dnd safe against tab disappearance

when the dragged tab is being removed during the drag operation,
we need to cancel the drag. To do so, we have to keep around
a reference to the drag context.

This should fix
https://bugzilla.gnome.org/show_bug.cgi?id=732051
gtk/gtknotebook.c